package com.lonely.goods.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lonely.common.core.domain.BaseEntity;
import com.lonely.goods.enums.GoodsEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author 黄志标
 * @date 2025-07-14 10:32
 * @Description: 商品日志表
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_goods_log")
public class SysGoodsLog extends BaseEntity implements Serializable {

    /**
     * 商品表主键id
     */
    private Long goodsId;

    /**
     * 操作类型
     *
     * @see GoodsEnum.GoodsLogOperatorTypeEnum
     */
    private String operatorType;

    /**
     * 状态（0：启用 1：禁用）
     */
    private Integer status;


}
